-
-
Notifications
You must be signed in to change notification settings - Fork 197
Support for android native libraries in plugin #583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
❌ |
✅ |
this.$logger.info("Generate build.xml for %s", targetDir); | ||
this.runAndroidUpdate(targetDir, targetSdk).wait(); | ||
|
||
let lines = this.$fs.readText(projProp, "utf-8").wait().split(os.EOL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the correct spelling of encoding is "utf8", see https://nodejs.org/api/fs.html#fs_fs_writefile_filename_data_options_callback
At any rate, can we use the property parser module instead?
38e7804
to
97b3208
Compare
❌ |
run ci |
✅ |
97b3208
to
3178cf9
Compare
✅ |
3178cf9
to
48c299a
Compare
✅ |
return (() => { | ||
let editor = this.createEditor().wait(); | ||
let i = 1; | ||
while (editor.get(this.buildKeyName(key, i))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indent me 😿
When plugin is added before platform, on |
let libRefExists = _.any(references, r => path.normalize(r.path) === path.normalize(referencePath)); | ||
if(libRefExists) { | ||
this.removeFromPropertyList("android.library.reference", referencePath).wait(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider adding else with logger.error("Could not find.....")
as it will be easier for debugging
48c299a
to
df943b1
Compare
✅ |
df943b1
to
23577ef
Compare
✅ |
23577ef
to
706015d
Compare
✅ |
👍 |
let i = 1; | ||
let currentValue: any; | ||
while (currentValue = editor.get(this.buildKeyName(key, i))) { | ||
if (currentValue.toLowerCase() === valueLowerCase) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some indentation issues maybe... The if
does not look on its place
👍 I have some comments and questions, but no merge-stoppers :) |
706015d
to
efba2b1
Compare
✅ |
Support for android native libraries in plugin
Should be merged after this PR - telerik/mobile-cli-lib#368
#510